package com.imjohn.mapper;

import com.imjohn.entity.Comment;
import org.springframework.stereotype.Repository;

@Repository
public interface CommentMapper {
    /**
     * 插入论数*/
    int AddComment( Comment comment);
    /**
     * 更新父评论评论数*/
    int SubReCommentNum(int id);
    /**
     * 点赞减1*/
    int subParseNum(int id);
    /**
     * 点赞加1*/
    int addParseNum(int id);

}
